package com.jianz.campus_markets.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jianz.campus_markets.domain.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author jianz
 * @since 2023-12-07
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    //查询用户的权限信息
    List<String> selectPermsByOtherUserId(@Param("userId") Long userId);

}
